[PHP] PHP Install Issue
I am jumping into php, using David Powers Essential Guide as my guide. I have installed apache 2.2.11, and in testing in a bowser, It Works! However when I go to test the php, (http://localhost/test.php), file not found. On the install of php (5.2.8), I recieved an error message. "Error Trying Access httpd.conf You will need to manually configure Web Server" I then went to httpd.conf, and added the following text. #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:\\Program Files\\PHP\\" LoadModule php5_module "C:\\Program Files\\PHP\\php5apache2_2.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL Then in the MIME TYPES I added application/x-httpd-php php application/x-httpd-php-source phps Still no work...I have tried unistalling the php, restarts, all the typcial fixes.. I am running XP Any guidance someone may offer would be greatly appriciated Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php install problem
I hate to ask a simple question, but I have two issues installing PHP. I have XP SP 2 with IIS. When I ran the install php-5.2.3-win32-installer.msi, it said it could not access "httpd.config" and I would have to configure the web server manually. I could not find anything on the internet containing the error message. I get the same error when installing IIS API and IIS CGI. The other problem I have is when I attempt to display a page containing PHP, the browser displays an error. The error I was getting said "PHP has encountered an Access Violation". Now it's changed and says "No input file specified." Weird. If someone could shed light I'd appreciate it. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHp Install problems on debian linux
Despite the fact this question involves installing PHP5, it's actually a question about installing Debian packages. Maybe you should look into package managers for Debian. Personally I use dselect, and it usually auto selects any dependencies not already installed. PHP though, I install from source. Cheers, Rob. On Wed, 2007-04-11 at 08:08 -0700, Don Don wrote: > Hi all am having issues with a little problem regarding php5 installation on > a debian linux machine. > > while trying to install php5 and supported modules I get the following > error messages, what can i do to get rid of them and continue with the > installation ? > > The following packages have unmet dependencies: > libapache2-mod-php5: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is > to be installed >Depends: libxml2 (>= 2.6.16) but 2.6.11-5 is to be > installed > php5-cli: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be > installed > Depends: libxml2 (>= 2.6.16) but 2.6.11-5 is to be installed > php5-curl: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be > installed > Depends: libcurl3 (>= 7.13.1-1) but it is not installable > Depends: libidn11 (>= 0.5.13) but it is not installable > php5-dev: Depends: autoconf but it is not installable > Depends: automake1.4 but it is not installable > Depends: libssl-dev but it is not installable > Depends: libtool but it is not installable > Depends: shtool but it is not installable > php5-gd: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be > installed >Depends: libgd2-xpm (>= 2.0.33) but 2.0.28-3 is to be installed >Depends: libpng12-0 (>= 1.2.8rel) but 1.2.5.0-7 is to be installed > php5-imap: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be > installed > php5-ldap: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be > installed > php5-mhash: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be > installed > Depends: libmhash2 but it is not going to be installed > php5-mysql: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be > installed > php5-odbc: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be > installed > Depends: unixodbc but it is not installable > php5-xsl: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be > installed > Depends: libxml2 (>= 2.6.16) but 2.6.11-5 is to be installed > Depends: libxslt1.1 (>= 1.1.12) but 1.1.8-5 is to be installed > E: Broken packages > > > > > - > Never miss an email again! > Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHp Install problems on debian linux
Hi all am having issues with a little problem regarding php5 installation on a debian linux machine. while trying to install php5 and supported modules I get the following error messages, what can i do to get rid of them and continue with the installation ? The following packages have unmet dependencies: libapache2-mod-php5: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed Depends: libxml2 (>= 2.6.16) but 2.6.11-5 is to be installed php5-cli: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed Depends: libxml2 (>= 2.6.16) but 2.6.11-5 is to be installed php5-curl: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed Depends: libcurl3 (>= 7.13.1-1) but it is not installable Depends: libidn11 (>= 0.5.13) but it is not installable php5-dev: Depends: autoconf but it is not installable Depends: automake1.4 but it is not installable Depends: libssl-dev but it is not installable Depends: libtool but it is not installable Depends: shtool but it is not installable php5-gd: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed Depends: libgd2-xpm (>= 2.0.33) but 2.0.28-3 is to be installed Depends: libpng12-0 (>= 1.2.8rel) but 1.2.5.0-7 is to be installed php5-imap: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed php5-ldap: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed php5-mhash: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed Depends: libmhash2 but it is not going to be installed php5-mysql: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed php5-odbc: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed Depends: unixodbc but it is not installable php5-xsl: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed Depends: libxml2 (>= 2.6.16) but 2.6.11-5 is to be installed Depends: libxslt1.1 (>= 1.1.12) but 1.1.8-5 is to be installed E: Broken packages - Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
[PHP] [PHP-INSTALL] Re: [PHP] Re: php4 vs. php5
This is a no-brainer, really. From a security standpoint alone, PHP 5 is superior, but through in the OOP and there's no question. There are books written on the subject - do an amazon search. And don't forget eric's advice. mark >>> Paul Novitski <[EMAIL PROTECTED]> 02-Feb-06 19:36 PM >>> At 04:09 PM 2/2/2006, Tim Burgan wrote: >I'm wondering if you can outline, or direct me to a resource that >explicitly notes the benefits of php5 over php4. They've got everything you need at php.net:* Appendix B. Migrating from PHP 4 to PHP 5 http://php.net/manual/en/migration5.php * to paraphrase Arlo Guthrie
Re: [PHP] PHP Install problem
On Mon, November 14, 2005 1:15 pm, russbucket wrote: > On Monday 14 November 2005 10:47, Curt Zirzow wrote: >> On Mon, Nov 14, 2005 at 10:06:17AM -0800, russbucket wrote: >> > Trying to get apache2, php5 and mysql running. get the following >> error >> > when opening phpMyAdmin. Can someone explain what it means. There >> is an >> > include path in php.ini. >> >> I think you forgot to include the error message. >> >> curt. >> -- > Your right, hand got ahead of my brain, Heres the messages when using > http/localhost/phpMyAdmin/ > > phpMyAdmin - Error > phpMyAdmin was unable to read your configuration file! > This might happen if PHP finds a parse error in it or PHP cannot find > the > file. > Please call the configuration file directly using the link below and > read the > PHP error message(s) that you receive. In most cases a quote or a > semicolon > is missing somewhere. > If you receive a blank page, everything is fine. > > config.inc.php > > Clicking on the config.inc.php gives following error. > Warning: Unknown: failed to open stream: Permission denied in Unknown > on line > 0 > > Warning: Unknown: Failed opening > '/srv/www/htdocs/phpMyAdmin/config.inc.php' > for inclusion (include_path='.:') in Unknown on line 0 > > I've checked and rechecked the configurations files, they look > correct. The file contents are fine (maybe) but PHP can't even *READ* the file because it's set up as un-readable by the PHP user. You need to find out the permissions on the file (config.inc.php) In a shell prompt on the server you can do: ls -als config.inc.php The output will have something not unlike: 7 -rw-rw-r-- 1 russbucket nwi_group ... config.inc.php But I'll bet a dollar *YOUR* file doesn't have the last 'r' letter there, and just has '-' instead: -rw-rw You need to change that: chmod 554 config.inc.php WARNING: On a shared server, this is exposing your database password to everybody else on that shared server. You may not have any other option, however. To mitigate this risk, you may want to do several things, after you get phpMyAdmin working. 1. Move the file out of your web tree, so *ONLY* users on the shared server could possibly read it, not the whole friggin' world. 2. Move it to a directory that denies listings by other users, so they can't stumble across it. (This may make it unreadable by PHP, though, depending on things I've never fully understood, so then don't do that...) More involved methods of keeping the password accessible to PHP and not everybody else with a login can be found here: http://phpsec.org -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Install problem
russbucket said the following on 11/14/2005 11:15 AM: Clicking on the config.inc.php gives following error. Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Warning: Unknown: Failed opening '/srv/www/htdocs/phpMyAdmin/config.inc.php' for inclusion (include_path='.:') in Unknown on line 0 I've checked and rechecked the configurations files, they look correct. Sounds like your web server's user does not have permission to read the file. chmod 444 /srv/www/htdocs/phpMyAdmin/config.inc.php will set your permissions (assuming your on *nix) to r--r--r-- which will give your web server's user (and ever other user account on the machine - which may not be what you want) permission to read the file. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Install problem
On Monday 14 November 2005 10:47, Curt Zirzow wrote: > On Mon, Nov 14, 2005 at 10:06:17AM -0800, russbucket wrote: > > Trying to get apache2, php5 and mysql running. get the following error > > when opening phpMyAdmin. Can someone explain what it means. There is an > > include path in php.ini. > > I think you forgot to include the error message. > > curt. > -- Your right, hand got ahead of my brain, Heres the messages when using http/localhost/phpMyAdmin/ phpMyAdmin - Error phpMyAdmin was unable to read your configuration file! This might happen if PHP finds a parse error in it or PHP cannot find the file. Please call the configuration file directly using the link below and read the PHP error message(s) that you receive. In most cases a quote or a semicolon is missing somewhere. If you receive a blank page, everything is fine. config.inc.php Clicking on the config.inc.php gives following error. Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Warning: Unknown: Failed opening '/srv/www/htdocs/phpMyAdmin/config.inc.php' for inclusion (include_path='.:') in Unknown on line 0 I've checked and rechecked the configurations files, they look correct. Thanks for responding even with my goof. -- Russ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Install problem
On Mon, Nov 14, 2005 at 10:06:17AM -0800, russbucket wrote: > Trying to get apache2, php5 and mysql running. get the following error when > opening phpMyAdmin. Can someone explain what it means. There is an include > path in php.ini. I think you forgot to include the error message. curt. -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Install problem
Trying to get apache2, php5 and mysql running. get the following error when opening phpMyAdmin. Can someone explain what it means. There is an include path in php.ini. -- Russ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Install with MySQL in 64 bit libraries.
Martin McGinn wrote: > I installed MySQL 4.23 using SuSE provided rpms so it loads > to /usr/lib64 > > > How do I configure the php 5.0 configure script so that it > finds the mysql > client in here while finding other objects in the /urs/local/. > > Currently the link fails as it does not find the mysql client > so files. You need to use PHP 5.1 and the --with-libdir configure option, or could can do a symlink. See: http://marc.theaimsgroup.com/?l=php-dev&w=2&r=1&s=with-libdir&q=b --- Hans Zaunere President, Founder New York PHP http://www.nyphp.org AMP Technology Supporting Apache, MySQL and PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Install with MySQL in 64 bit libraries.
Martin, Make a symlink from /usr/lib64 to /usr/lib and it should work just fine. Joe Martin McGinn ([EMAIL PROTECTED]) wrote: > > I installed MySQL 4.23 using SuSE provided rpms so it loads to /usr/lib64 > > > How do I configure the php 5.0 configure script so that it finds the mysql > client in here while finding other objects in the /urs/local/. > > Currently the link fails as it does not find the mysql client so files. > > Thanks > > Martin > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- "Computers are like air conditioners - they stop working properly when you open Windows" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Install with MySQL in 64 bit libraries.
I installed MySQL 4.23 using SuSE provided rpms so it loads to /usr/lib64 How do I configure the php 5.0 configure script so that it finds the mysql client in here while finding other objects in the /urs/local/. Currently the link fails as it does not find the mysql client so files. Thanks Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3
John Nichel wrote: Mark Sargent wrote: John Nichel wrote: Mark Sargent wrote: http://www.php.net/manual/en/install.unix.php it has 2 examples, 4-1 and 4-2. Little confused with what shared and static modules are and which 1 pertains to me. I was wanting to get php running to allow base to show results of snort logging in mysql. Snort/Mysql/Base etc are installed fine, just php is the last hurdle. Again, sorry. Cheers. When you installed php, did you install it the same time as Apache (--with-apache=../apache-1.3.x) or was Apache already installed (--with-apxs=/path/to/apxs)? Hi All, okay, I need to ask this "dumb"(?) question. What is the difference between httpd, already installed and Apache..? I thought they were the same. If they are, and I'm using the default version, from install, I just add those lines to the .conf file, yes..? Again, I do truly apologize for what may seem mundane questions. Cheers. As far as the functionality of PHP, there really is no difference in the installs. A big advantage to installing PHP as a DSO (--with-apxs) vs. a static module (--with-apache) is when it comes time to re-install PHP (because you need to add a third party library to it, a new version is out, etc.). As a static module, you would have to re-configure/compile/install both PHP and Apache, whereas a DSO, you only need to redo PHP. In both cases, the solution to your problem is probably adding this to your Apache's config file (httpd.conf), and restarting Apache... AddType application/x-httpd-php .php Hi All, thanx, John. I added that via vi and restarted with, /etc/rc.d/init.d/httpd restart but, still get the core php code showing in the browser when going to localhost/index.php. Should I just remove both httpd/php and reinstall both from source with support..? Cheers. P.S. This is not a production machine. I'm just learning all of it and then when confident, will set up a real system. Cheers, again. Mark Sargent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3
Mark Sargent wrote: John Nichel wrote: Mark Sargent wrote: http://www.php.net/manual/en/install.unix.php it has 2 examples, 4-1 and 4-2. Little confused with what shared and static modules are and which 1 pertains to me. I was wanting to get php running to allow base to show results of snort logging in mysql. Snort/Mysql/Base etc are installed fine, just php is the last hurdle. Again, sorry. Cheers. When you installed php, did you install it the same time as Apache (--with-apache=../apache-1.3.x) or was Apache already installed (--with-apxs=/path/to/apxs)? Hi All, okay, I need to ask this "dumb"(?) question. What is the difference between httpd, already installed and Apache..? I thought they were the same. If they are, and I'm using the default version, from install, I just add those lines to the .conf file, yes..? Again, I do truly apologize for what may seem mundane questions. Cheers. As far as the functionality of PHP, there really is no difference in the installs. A big advantage to installing PHP as a DSO (--with-apxs) vs. a static module (--with-apache) is when it comes time to re-install PHP (because you need to add a third party library to it, a new version is out, etc.). As a static module, you would have to re-configure/compile/install both PHP and Apache, whereas a DSO, you only need to redo PHP. In both cases, the solution to your problem is probably adding this to your Apache's config file (httpd.conf), and restarting Apache... AddType application/x-httpd-php .php -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3
John Nichel wrote: Mark Sargent wrote: http://www.php.net/manual/en/install.unix.php it has 2 examples, 4-1 and 4-2. Little confused with what shared and static modules are and which 1 pertains to me. I was wanting to get php running to allow base to show results of snort logging in mysql. Snort/Mysql/Base etc are installed fine, just php is the last hurdle. Again, sorry. Cheers. When you installed php, did you install it the same time as Apache (--with-apache=../apache-1.3.x) or was Apache already installed (--with-apxs=/path/to/apxs)? Hi All, okay, I need to ask this "dumb"(?) question. What is the difference between httpd, already installed and Apache..? I thought they were the same. If they are, and I'm using the default version, from install, I just add those lines to the .conf file, yes..? Again, I do truly apologize for what may seem mundane questions. Cheers. Mark Sargent. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3
Mark Sargent wrote: http://www.php.net/manual/en/install.unix.php it has 2 examples, 4-1 and 4-2. Little confused with what shared and static modules are and which 1 pertains to me. I was wanting to get php running to allow base to show results of snort logging in mysql. Snort/Mysql/Base etc are installed fine, just php is the last hurdle. Again, sorry. Cheers. When you installed php, did you install it the same time as Apache (--with-apache=../apache-1.3.x) or was Apache already installed (--with-apxs=/path/to/apxs)? -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3
On Saturday 09 April 2005 21:27, Mark Sargent wrote: > >> I did a source install, of which I'm a newb at, and then created a > >> index.php file containing the following, > >> > >> >> phpinfo(); ?> > >> > >> but, that shows in the browser, Firefox, when typing > > > > > > > > You need to tell Apache how to handle php files. > sorry guys, quite new to all this. On this page, > > http://www.php.net/manual/en/install.unix.php > > it has 2 examples, > > 4-1 and 4-2. Little confused with what shared and static modules are > and which 1 pertains to me. I was wanting to get php running to allow > base to show results of snort logging in mysql. Snort/Mysql/Base etc > are installed fine, just php is the last hurdle. Again, sorry. Cheers. OK you said you had already installed it, so which did you follow 4-1 or 4-2? 4-1 (shared modules) compiles PHP as an Apache module, this means that when Apache needs to process a page that contains PHP it will have to load in the PHP module (this is all done automatically), however you need to tell it what PHP files look like and what the PHP module is. This is done in steps 14 & 15. 4-2 (static) means that PHP will be compiled into the Apache executable however you still need to tell it what PHP files look like (step 15). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- New Year Resolution: Ignore top posted posts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3
John Nichel wrote: Mark Sargent wrote: Hi All, I did a source install, of which I'm a newb at, and then created a index.php file containing the following, but, that shows in the browser, Firefox, when typing You need to tell Apache how to handle php files. Hi All, sorry guys, quite new to all this. On this page, http://www.php.net/manual/en/install.unix.php it has 2 examples, 4-1 and 4-2. Little confused with what shared and static modules are and which 1 pertains to me. I was wanting to get php running to allow base to show results of snort logging in mysql. Snort/Mysql/Base etc are installed fine, just php is the last hurdle. Again, sorry. Cheers. P.S. Ah, sorry, John, think I emailed you this post directly, unintentionally Mark Sargent. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3
Mark Sargent wrote: Hi All, I did a source install, of which I'm a newb at, and then created a index.php file containing the following, but, that shows in the browser, Firefox, when typing You need to tell Apache how to handle php files. -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3
On Saturday 09 April 2005 20:17, Mark Sargent wrote: > I did a source install, of which I'm a newb at, and then created a > index.php file containing the following, > > phpinfo(); ?> > > > > but, that shows in the browser, Firefox, when typing > localhost/index.php. I've confirmed that httpd is running, and > generates pages as I got the Apache welcome page b4 creating the > index.php page. I'm swaying towards that I may have compiled the source > wrongly, like leaving something out. Happy to post whatever is needed > to help you help me here. Cheers. You seem to have missed out some important steps ie editing httpd.conf so that it knows about PHP. RTFM for details. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- New Year Resolution: Ignore top posted posts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] [PHP-INSTALL] Install Problems on Fedora 3
Hi All, I did a source install, of which I'm a newb at, and then created a index.php file containing the following, but, that shows in the browser, Firefox, when typing localhost/index.php. I've confirmed that httpd is running, and generates pages as I got the Apache welcome page b4 creating the index.php page. I'm swaying towards that I may have compiled the source wrongly, like leaving something out. Happy to post whatever is needed to help you help me here. Cheers. Mark Sargent. [EMAIL PROTECTED] php-5.0.3]# ./configure --with-mysql=/usr/local/mysql too much to post. [EMAIL PROTECTED] php-5.0.3]# make install Installing PHP SAPI module: cgi Installing PHP CGI into: /usr/local/bin/ Installing PEAR environment: /usr/local/lib/php/ [PEAR] Archive_Tar- installed: 1.1 [PEAR] Console_Getopt - installed: 1.2 [PEAR] PEAR - installed: 1.3.3 Wrote PEAR system config file at: /usr/local/etc/pear.conf You may want to add: /usr/local/lib/php to your php.ini include_path [PEAR] XML_RPC- installed: 1.1.0 Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config program: phpextdist [EMAIL PROTECTED] php-5.0.3]# service httpd restart Stopping httpd:[ OK ] Starting httpd:[ OK ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP-INSTALL Compile Error
I'm getting this error when running a make on php 4.3.4 on AIX 5.2: ld: 0711-317 ERROR: Undefined symbol: .pow ld: 0711-317 ERROR: Undefined symbol: .ceil ld: 0711-317 ERROR: Undefined symbol: .floor ld: 0711-317 ERROR: Undefined symbol: .sin ld: 0711-317 ERROR: Undefined symbol: .cos ld: 0711-317 ERROR: Undefined symbol: .tan ld: 0711-317 ERROR: Undefined symbol: .asin ld: 0711-317 ERROR: Undefined symbol: .acos ld: 0711-317 ERROR: Undefined symbol: .atan ld: 0711-317 ERROR: Undefined symbol: .atan2 ld: 0711-317 ERROR: Undefined symbol: .sinh ld: 0711-317 ERROR: Undefined symbol: .cosh ld: 0711-317 ERROR: Undefined symbol: .tanh ld: 0711-317 ERROR: Undefined symbol: .exp ld: 0711-317 ERROR: Undefined symbol: .expm1 ld: 0711-317 ERROR: Undefined symbol: .log ld: 0711-317 ERROR: Undefined symbol: .log10 ld: 0711-317 ERROR: Undefined symbol: .sqrt ld: 0711-317 ERROR: Undefined symbol: .fmod ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Can anyone help with this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Install help with gettext
Hi, We are attempting to install PHP 4.3.2 on to windows XP using Apache as our web server. When we try to start apache, the Warning message appears: "Unkown(): Unable to load dynamic library 'c:\PHP\extensions\php_gettext.dll' - The specified module could not be found." We have not been able to locate the php_gettext.dll file, and it was suggested to try the libintl.dll file, but we have not had any success with it. Can you please help us? Thanks, Andrew [EMAIL PROTECTED]
[PHP] php install help
Hey guys, Im having problems getting my helloworld.php file to Work on the apache server. My phpinfo.php works perfect. I know the code is write The error message I get is # Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. How can I correct this The linked I used is. Localhost/phpinfo.php And the one that is not working is Localhost/helloworld.php ultimatefootballleague.com/index.php [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP install - what features?
On Saturday 13 July 2002 16:15, olinux wrote: > I have searched the archive for a message subject > something like "PHP Wish List" and was unsuccessful. I doubt whether someone else's wishlist is of much use to _you_. Their needs are most likely different to yours. > I am going to have our new server setup and would like > to know which features should be enabled - I know a > few that I will need, but what features should i get > now that I will be requesting a recompile later on > for? Simply compile the features that you _need_ right now. Recompiling is trivial, so you can always add whatever you need, _when_ you need it. > do excess features slow down php? If they're not compiled as modules then most likely yes, as at the very least it results in a larger executable. Whether the slow down is noticeable, you'll have to benchmark for yourself. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Everything might be different in the present if only one thing had been different in the past. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP install - what features?
Hi all, I have searched the archive for a message subject something like "PHP Wish List" and was unsuccessful. I am going to have our new server setup and would like to know which features should be enabled - I know a few that I will need, but what features should i get now that I will be requesting a recompile later on for? Here are the features I think will be best - am I missing anything? do excess features slow down php? --with-xml -with-mysql -with-gd -with-ttf -with-pdflib -with-pear -with-openssl -with-zlib -with-curl -enable-ftp -with-mnoGoSearch -enable-sockets -enable-safe-mode -with-exec-dir --with-apache Thanks much, olinux __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php install
On Monday 01 July 2002 11:20, Nigel George wrote: > Hi, I'm trying to install PHP 4.2.1 on SuSE SLES 7.3 and I get the > following error message > > checking lex output file root... ./configure: lex: command not found > configure: error: cannot find output from lex; giving up > > any ideas? install flex matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php install
Hi, I'm trying to install PHP 4.2.1 on SuSE SLES 7.3 and I get the following error message checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up any ideas? Nigel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php install in win32
I just download apache 1.3.x latest, php latest andmy sql latest. (win32 env) Which packages I need to download now to enable gd-library for graphics ? and zlib ? I wanna enable png creation . . where can I find the compiled dlls for those ? I found a dll called gds32.dll in the dlls dir of php is that one for the gd library ? In the php file then you have to enable the extensions... shall i add gds32.dll then in the list there ? Thanks in advance... -- Sapilas@/dev/pinkeye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php install error --enable-sockets
Hi , I am trying to install php with the --enable-sockets on a solaris2.8 machine . and getting the following error . Any help is appreciated . thanks ~Rahul sockets.c: In function `php_if_recvmsg': sockets.c:1728: structure has no member named `msg_control' sockets.c:1729: structure has no member named `msg_controllen' sockets.c:1731: structure has no member named `msg_control' sockets.c:1732: structure has no member named `msg_controllen' sockets.c:1735: structure has no member named `msg_flags' sockets.c:1741: structure has no member named `msg_control' sockets.c:1750: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast sockets.c:1754: structure has no member named `msg_controllen' sockets.c:1755: structure has no member named `msg_flags' sockets.c:1787: structure has no member named `msg_control' sockets.c:1788: structure has no member named `msg_controllen' sockets.c:1790: structure has no member named `msg_control' sockets.c:1791: structure has no member named `msg_controllen' sockets.c:1794: structure has no member named `msg_flags' sockets.c:1800: structure has no member named `msg_control' sockets.c:1810: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast sockets.c:1812: structure has no member named `msg_controllen' sockets.c:1814: structure has no member named `msg_flags' *** Error code 1 make: Fatal error: Command failed for target `sockets.lo' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Install Problem - Please Help
Hi All, I'm running Suse Linux 7.1, Kernet 2.4 I have downloaded and installed the latest version of Apache and it's up and running OK It is installed in : /usr/local/apache To Install PHP, i have downloaded the Source and put it in: /usr/local/src/php-4.0.6 To Install PHP I have done this ( ihave specified the location of apxs as Suse Installed an Apache server also, but I want the one I've installed to /usr/local/apache): ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs Then I type: make make install Then I edit /usr/local/apache/conf/httpd.conf The required lines ARE there, ie. LoadModule php4_modulelibexec/libphp4.so AddModule mod_php4.c AddType application/x-httpd-php .php I have also copied /usr/local/src/php-4.0.6/php.ini-dist to /usr/local/lib/php.ini Now the problem : I then go to start my Server as follows: cd /usr/local/apache/bin ./httpd BUT Then I get this: "Syntax error on line 236 of /usr/local/apache/conf/httpd.conf: API module structure `php4_module' in file /usr/local/apache/libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO? " Line 236 of /usr/local/apache/conf/httpd.conf is : LoadModule php4_modulelibexec/libphp4.so And If I check the file type of libphp4.so as follows: cd /usr/local/apache/libexec/ file libphp4.so I get : "libphp4.so: ELF 32-bit LSB shared object, Intel 80386, version 1, not stripped " SoCan anybody Help ??? I don't have MySQL installed yet - do I need to have that first ??? Thanks, Martin Stephenson. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP INSTALL
I suggest you uninstall everything that apache installed and do it all from source. It always seems to be much easier that way. Good luck, Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 7 Aug 2001 12:06:57 -0700 (PDT) Christian Cresante <[EMAIL PROTECTED]> wrote: > ok, can i do this? build it with all the > --enable-blahs, so i wouldn't need to recompile > apache since it already knows about php (i would use > the same version). would this be a mess? redhat > installs in wierd places. i installed php from the > source in 6.1 and it worked fine. now, it seems all > the php files are everywhere. would --force take care > of this? i really want to do the smallest work > possible. thanks again. > > --- Tim <[EMAIL PROTECTED]> wrote: > > As far as I know, you need to build from source to > > accomplish that. > > > > - Tim > > > > On 07 Aug 2001 11:45:21 -0700, Christian Cresante > > wrote: > > >I posted this yesterday and got no response. i > > > know somebody out there went thru this. > > > > > >I have php4.0.4pl1 installed from redhat 7.1 > > binary > > > cd along w/ apache 1.3.19, mysql, ldap, etc. > > > everything works fine, but now i want support for > > pdf > > > and swf. i looked for a configure script for php > > but > > > none was found. how would i go about doing this? > > i > > > would hate to install it from the source as i just > > > want one or two exts installed. if i have pdf.so > > or > > > swf.so and uncomment those lines where it loads it > > in > > > php.ini, it should work, right? that is, if > > someone > > > can send me those two files. i'm confused. can > > > someone help me out? thanks in advance. > > > > > > > > > > > > __ > > > Do You Yahoo!? > > > Make international calls for as low as $.04/minute > > with Yahoo! Messenger > > > http://phonecard.yahoo.com/ > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > To contact the list administrators, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > __ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP INSTALL
ok, can i do this? build it with all the --enable-blahs, so i wouldn't need to recompile apache since it already knows about php (i would use the same version). would this be a mess? redhat installs in wierd places. i installed php from the source in 6.1 and it worked fine. now, it seems all the php files are everywhere. would --force take care of this? i really want to do the smallest work possible. thanks again. --- Tim <[EMAIL PROTECTED]> wrote: > As far as I know, you need to build from source to > accomplish that. > > - Tim > > On 07 Aug 2001 11:45:21 -0700, Christian Cresante > wrote: > >I posted this yesterday and got no response. i > > know somebody out there went thru this. > > > >I have php4.0.4pl1 installed from redhat 7.1 > binary > > cd along w/ apache 1.3.19, mysql, ldap, etc. > > everything works fine, but now i want support for > pdf > > and swf. i looked for a configure script for php > but > > none was found. how would i go about doing this? > i > > would hate to install it from the source as i just > > want one or two exts installed. if i have pdf.so > or > > swf.so and uncomment those lines where it loads it > in > > php.ini, it should work, right? that is, if > someone > > can send me those two files. i'm confused. can > > someone help me out? thanks in advance. > > > > > > > > __ > > Do You Yahoo!? > > Make international calls for as low as $.04/minute > with Yahoo! Messenger > > http://phonecard.yahoo.com/ > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > > > > __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP INSTALL
I posted this yesterday and got no response. i know somebody out there went thru this. I have php4.0.4pl1 installed from redhat 7.1 binary cd along w/ apache 1.3.19, mysql, ldap, etc. everything works fine, but now i want support for pdf and swf. i looked for a configure script for php but none was found. how would i go about doing this? i would hate to install it from the source as i just want one or two exts installed. if i have pdf.so or swf.so and uncomment those lines where it loads it in php.ini, it should work, right? that is, if someone can send me those two files. i'm confused. can someone help me out? thanks in advance. __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PHP INSTALL (please, im too young to die!!!)
Maybe you should just install a package, much easier. Check out : http://hotscripts.com/PHP/Scripts_and_Programs/Installation_Kits/ phpTriad and nusphere are popular, as are others. Once it's setup play with the configurations, etc. Usually mysql/apache/php will be installed. Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] PHP INSTALL (please, im too young to die!!!)
get the windows ZIP > -Original Message- > From: Kyle Smith [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 11:04 PM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP INSTALL (please, im too young to die!!!) > > > ok i really need to get this sorted quickly so could somebody please tell > me which of the below (taken off php.net) i should download to install PHP > on my WIN ME comeputer (im not using my computer as an insternet server i > need it to test scripts) > > Complete Source Code > a.. PHP 4.0.6 [3,083Kb] - 23 June 2001 > Win32 Binaries > a.. PHP 4.0.6 zip package [4,859Kb] - 23 June 2001 > (CGI binary plus server API versions for Apache, AOLserver, ISAPI and > NSAPI. MySQL support built-in, many extensions included, packaged as zip) > b.. PHP 4.0.6 installer [755Kb] - 23 June 2001 > (CGI only, MySQL support built-in, packaged as Windows installer to > install and configure PHP, and automatically configure IIS, PWS and > Xitami, with manual configuration for other servers. N.B. no external > extensions included) > Patches > a.. PHP 4.0.6 memory limit fix [0Kb] - 1 July 2001 > (This patch fixes a bug in the 4.0.6 memory limit option. This is only > needed when configuring PHP with --enable-memory-limit). If you have > problems applying the patch try using GNU patch. > > > -lk6- > http://www.StupeedStudios.f2s.com > Home of the burning lego man! > > ICQ: 115852509 > MSN: [EMAIL PROTECTED] > AIM: legokiller666 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP INSTALL (please, im too young to die!!!)
ok i really need to get this sorted quickly so could somebody please tell me which of the below (taken off php.net) i should download to install PHP on my WIN ME comeputer (im not using my computer as an insternet server i need it to test scripts) Complete Source Code a.. PHP 4.0.6 [3,083Kb] - 23 June 2001 Win32 Binaries a.. PHP 4.0.6 zip package [4,859Kb] - 23 June 2001 (CGI binary plus server API versions for Apache, AOLserver, ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged as zip) b.. PHP 4.0.6 installer [755Kb] - 23 June 2001 (CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included) Patches a.. PHP 4.0.6 memory limit fix [0Kb] - 1 July 2001 (This patch fixes a bug in the 4.0.6 memory limit option. This is only needed when configuring PHP with --enable-memory-limit). If you have problems applying the patch try using GNU patch. -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] PHP install
A urgent question does, the follow work on sun solaris. php + postgresql + expat + saboltron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] php install issues on IIS
You probably need to go into the IIS console ( mmc ) and go to properties on the directory in question and make sure either the "execute" or "script" checkbox is checked. You may also need to verify the actual file permissions, but I believe this is more of a configuration issue. Martin Gottlieb -Original Message- From: Jerry Lake [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 5:51 PM To: [EMAIL PROTECTED] Subject: [PHP] php install issues on IIS Some of my co-workers are trying to install php and when I run phpinfo() I get this error, any ideas ? I've only setup php on unix systems, so I am at a loss here. HTTP Error 403 403.1 Forbidden: Execute Access Forbidden This error can be caused if you try to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. Please contact the Web server's administrator if the problem persists. Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] php install issues on IIS
Some of my co-workers are trying to install php and when I run phpinfo() I get this error, any ideas ? I've only setup php on unix systems, so I am at a loss here. HTTP Error 403 403.1 Forbidden: Execute Access Forbidden This error can be caused if you try to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. Please contact the Web server's administrator if the problem persists. Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP Install Problem
Hi, I'm trying to get php to install on a RH 6.2 system. Apache 1.3.12. All goes well with the configure, make, and make install, but my server (apache) won't start and I get this message: Syntax error on line 249 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symb ol: uncompress I saw it often in the list archives, but didn't find any good resolution to it. Anyone know? My configure line is below if that helps. Thanks, ./configure '--with-mysql=/usr/local/mysql' '--with-pgsql=/usr/local/pgsql' '--with-apxs=/usr/sbin/apxs' '--with-system-regex' '--disable-debug' '--enable-track-vars' '--enable-versioning' '--with-ttf' '--with-ftp' Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]