php-install Digest 13 Aug 2001 14:39:04 -0000 Issue 411 Topics (messages 3944 through 3950): Re: problems with installation 3944 by: Gerald Howse 3945 by: Gerald Howse 3948 by: josephfinnie.another.com Problems with cURL 3946 by: Alberto Any clues? 3947 by: Gilbert Colon missing php.ini file 3949 by: Martin Axhamre php4.06 installation causes apache to stop function. 3950 by: urgent from Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
Greetings Joe, Are you asking about installing PHP or MySQL ? Did you read the PHP Manual ? (This is a must, there are settings to be made in Apache) What method of install are you trying ? Are you installing as an Apache module ? (Would suggest that module installation might be the best) What flavour of Linux are you running ? What is the hardware of the machine ? Gerald Howse Edmonton, AB, Canada *************************************** On August 12, 2001 06:57 pm, you wrote: > hello > > i cannot actually access the web from my Linux machine to send you the > correct debug.log file - i am writing his from a mac and if i can send it > from a windows pc tomorrow i will. I have Linux 5.2 and have installed > mySQL and apache but when i get to installing php4.0.0 i get the message > that something may be screwed up and the installation may not go ahead - > the bottom comment on the debug.log reads as follows : > > ld: cannot open -lmysqlclient: no such file or directory > > Is this a file or a directory and if i need to create a simple directory > where do i mkdir ? > > Please could you help me out on this one - it said to do send any problems > to this email address... > > thanks
Greetings Joe, Are you asking about installing PHP or MySQL ? Did you read the PHP Manual ? (This is a must, there are settings to be made in Apache) What method of install are you trying ? Are you installing as an Apache module ? (Would suggest that module installation might be the best) What flavour of Linux are you running ? What is the hardware of the machine ? Gerald Howse Edmonton, AB, Canada *************************************** On August 12, 2001 06:57 pm, you wrote: > hello > > i cannot actually access the web from my Linux machine to send you the > correct debug.log file - i am writing his from a mac and if i can send it > from a windows pc tomorrow i will. I have Linux 5.2 and have installed > mySQL and apache but when i get to installing php4.0.0 i get the message > that something may be screwed up and the installation may not go ahead - > the bottom comment on the debug.log reads as follows : > > ld: cannot open -lmysqlclient: no such file or directory > > Is this a file or a directory and if i need to create a simple directory > where do i mkdir ? > > Please could you help me out on this one - it said to do send any problems > to this email address... > > thanks
Gerald hi - amazing quick response - my thanks for that - here are my answers ... > >Are you asking about installing PHP or MySQL ? PHP4.0.0 >Did you read the PHP Manual ? yes the one by Julie Meloni >(This is a must, there are settings to be made in >Apache) - doh - didn't change the apache conf files to reflect my email and server >name .. > >What method of install are you trying ? no idea it doesn't give a type or method > >Are you installing as an Apache module ? >(Would suggest that module installation >might be the best) - i have a seperate apache install book and cd but i think i'll >try the configurations page again and reinstall PHP > >What flavour of Linux are you running ? Redhat old 5.2 - yikes !! should probably >upgrade ! >What is the hardware of the machine ? Intel Pentium 300 Mhz 32mb ram - 1Gig HD and >atapi cdrom and fd0 floppy all mounted ok. I'll do these apache config pages as i think i missed them out - if i still got problems i'll get back to you.. thanks again Joe 20 email addresses from 15,000 domain names - free at http://www.another.com
I have been running Apache+PHP 4.0.x for months, I have recompiled it tons of times to add new features like ftp, gd, etc... with no problems, but now I'm trying to add cURL support, PHP compiles without problems but when I start apache I get that error message: Syntax error on line 205 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: curl_global_cleanup /usr/local/apache/bin/apachectl start: httpd could not be started Line 205 is LoadModule php4_module libexec/libphp4.so My system is Linux 2.4.6 with Apache 1.3.20 and cURL 7.8, everything compiled from source. Any ideas? Thnx
I have installed php-4.0.6 with Postgres 7.1.2 and Apache 1.3.20. In my Apache server logs I see the following in my error_log: [Sun Aug 12 14:56:10 2001] [error] (8)Exec format error: exec of /home/httpd/php-bin/index.php failed [Sun Aug 12 14:56:10 2001] [error] [client 192.168.0.1] Premature end of script headers: /home/httpd/fr-tech/php-bin/index.php The contents of my index.php file is this very basic script (right out of the manual): <html> <head> <title>PHP Prog 1</title> </head> <body> <?php echo "Hi I'm a PHP Script!"; ?> </body> </html> I do have a file /usr/bin/php, which is version 4.0.1p12, that is from the prior version I have yet to delete, but even with this executable, I still get the error. If I run /usr/bin/php index.php, I get the proper response and behavior. What is more interesting is that after building php-4.0.6, I can not find the new php executable. It does not appear to exist..... The only contents in the php bin directory is: [root@joeboo lib]# ls -l /usr/local/php/bin total 16 -rwxr-xr-x 1 root root 1595 Aug 12 13:30 pear -rwxr-xr-x 1 root root 482 Aug 12 13:30 php-config -rwxr-xr-x 1 root root 593 Aug 12 13:30 phpextdist -rwxr-xr-x 1 root root 708 Aug 12 13:30 phpize [root@joeboo lib]# Does anyone have a clue of what could be going on? Build details..... ;-( # # Openssl build parameters # # ./config no-threads -fPIC --prefix=/usr/local/openssl # # MM build parameters # # ./configure --disable-shared --prefix=/usr/local/mm # # Mod SSL build parameters # ./configure --with-apache=/latest/apache_1.3.20 \ --with-ssl=/latest/openssl-0.9.6b \ --with-mm=/latest/mm-1.1.3 \ --prefix=/usr/local/apache" make make test make install # # Apache build parameters - First Pass # # ./configure --prefix=/usr/local/apache \ --enable-suexec \ --suexec-caller=www \ --suexec-userdir=.www \ --suexec-docroot=/usr/local/apache/htdocs \ --suexec-logfile=/usr/local/apache/logs/suexec_log \ --suexec-uidmin=1000 \ --suexec-gidmin=1000 \ --suexec-safepath="/bin:/usr/bin:/usr/local/bin" \ --enable-module=rewrite \ --enable-module=most \ --enable-shared=max make make certifcate make install # # Postgres build parameters # # cd /latest/postgresql-7.1.2 ./configure --prefix=/usr/local/pgsql \ --exec-prefix=/usr/local/pgsql \ --with-openssl=/usr/local/openssl \ --with-perl=/usr/local/bin/perl make make install # # PHP4 build parameters # ./configure --prefix=/usr/local/php \ --exec-prefix=/usr/local/php \ --with-apache=/latest/apache_1.3.20 \ --without-mysql \ --with-openssl=/usr/local/openssl \ --with-pgsql=/usr/local/pgsql make make install # # Apache build parameters - Second Pass - After all # modules have been built......gees! ;-( # # ./configure --prefix=/usr/local/apache \ --enable-suexec \ --suexec-caller=www \ --suexec-userdir=.www \ --suexec-docroot=/usr/local/apache/htdocs \ --suexec-logfile=/usr/local/apache/logs/suexec_log \ --suexec-uidmin=1000 \ --suexec-gidmin=1000 \ --suexec-safepath="/bin:/usr/bin:/usr/local/bin" \ --with-perl=/usr/local/bin/perl \ --activate-module=src/modules/php4/mod_php4.c \ --enable-module=rewrite \ --enable-module=most \ --enable-shared=max make make certifcate make install
Hi, For some reason I don't have any php.ini file. Neither the example files or backup files seem to exist (I've looked everywhere..). So, my question is, could someone please mail me a copy of a php.ini file that I could use. I would be sooo greatful!!! kind regards / Martin Axhamre [EMAIL PROTECTED] running: Mac OS X Server 2.0, PHP 4.05 and mySQL 3.23.38
I'm on a i686, 192Mb RAM, 20Gb HD running Linux/suse7.0 and software, mysql-3.23.40 apache-1.3.20 php-4.0.6. I've cheched that apache is set to --enable-module=so. I've configured php with ./configure --with-mysql=/..path to mysql --with-apxs=/...path to apxs -no error message from php- on: /apachectl start this message occure: cannot load /.../libphp4.so into server:libmysqlclient.so.10:cannot open shared object file: no such file or directory. I've cheched the path and filenames, and everything is in the right place as far as I can see. I also cheched the httpd.conf, and can't find anything wrong there ??? what to do ???