PDA

View Full Version : Problems with php install


Carter McArthur
07-06-2006, 09:05 PM
I had a problem with my php5 installation so I dumped it's files. The reason was because I could not get the code to process correctly. When html code was parsed, it would respond,but when php parsed it would not read the $_post info.
Now since I reinstalled the php after a clean install.
I get this response from my command prompt.

Quote

C:\PHP>php -t
PHP Warning: PHP Startup: dba: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: fdf: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: dbg: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0


I hope that someone can help me solve this situation.
Carter

Carter McArthur

thunderhoster
07-06-2006, 11:47 PM
Well... that's a new one :)

I haven't got many ideas on what that'll be, but are you sure the inclusion path for libraries on php.ini is correct?

Carter McArthur
07-07-2006, 01:10 AM
I downloaded php in my c drive it worked but there's a problem with it reading my code . I deleted the old php5 and reloaded it in the same path as the last one. There was a test that I tried which came back and said that there was a dll that was missing and that there was a parse error everytime I ran the script. So I deleted the whole php5 file and started over. I copied the message that the command prompt wrote out. The tree which was left by php5 files are all there as far as I know. My problem is this, some how, my XP will not respond to the php scripts.

carter

DELOCH
07-07-2006, 01:22 AM
tip:

get http://www.apachefriends.org

and get the XAMPP

XAMPP(X Apache, MySQL, PHP, PERL) Package which should help a lot!
after go to http://www.sqlyog.com and get the MySQL editor which is awsome

then remember that your htdocs folder equals to http://localhost/

so if you have a file in htdocs (myname.php) go http://localhost/myname.php

hope it helps :D

I tried doing it sepperately and failed 20 times in a row :\ than I got XAMPP... and it didnt work 5 times(didnt know it was suppose to run on localhost)
and now XAMPP works fine :D

marek_mar
07-07-2006, 02:11 AM
http://a51.neostrada.pl/ for all your Apache/PHP/MySQL installation needs.