Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
Moderator: General Moderators
- EverLearning
- Forum Contributor
- Posts: 282
- Joined: Sat Feb 23, 2008 3:49 am
- Location: Niš, Serbia
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
Move it to "C:\Windows\" not "c:\windows\system32\";
Also in phpinfo() output, what is the value of "Loaded Configuration File"? (Its in the top of the page.)
EDIT | And the value of "Configuration File (php.ini) Path"?
Also in phpinfo() output, what is the value of "Loaded Configuration File"? (Its in the top of the page.)
EDIT | And the value of "Configuration File (php.ini) Path"?
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
When i moved to "C:\Windows\", it is showing blank page (that's why i moved to c:\windows\system32\"). Ofcourse either way is not working.
The Loaded Configuration File says "none".
If my understanding is not wrong, you are asking for path to php.ini. This is where the php.ini file is "C:\ApacheServer\PHP\"
Let me know if you are aksing for some thing else.
Thanks,
Kalyani
The Loaded Configuration File says "none".
If my understanding is not wrong, you are asking for path to php.ini. This is where the php.ini file is "C:\ApacheServer\PHP\"
Let me know if you are aksing for some thing else.
Thanks,
Kalyani
- EverLearning
- Forum Contributor
- Posts: 282
- Joined: Sat Feb 23, 2008 3:49 am
- Location: Niš, Serbia
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
I was asking what apache saw as the php.ini filepath, and "none" means it didn't find php.ini. If you get blank page when you put the file in windows folder it means that apache found it, but there were some errors. Maybe your php.ini file is malformed or something. Put it back into windows folder and try looking into apache error.log to see if there is any clue as to whats happening, also set "display_errors = on" in php.ini, and set "error_reporting = E_ALL" in php.ini.
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
Finally i found it. The value of "Configuration File (php.ini) Path" is C:\Windows
I enabled "display_errors = on" and set "error_reporting = E_ALL" in the php.ini file.
I went to error.log file but i don't see any errors in that. then i went to access.log file and the message is:
127.0.0.1 - - [10/Apr/2008:15:16:19 -0700] "GET /test.php HTTP/1.1" 200 30
There is some other error (but was generated yesterday) in the error.log file
[Wed Apr 09 02:29:36 2008] [error] Cannot remove module mod_php5.c: not found in module list
I enabled "display_errors = on" and set "error_reporting = E_ALL" in the php.ini file.
I went to error.log file but i don't see any errors in that. then i went to access.log file and the message is:
127.0.0.1 - - [10/Apr/2008:15:16:19 -0700] "GET /test.php HTTP/1.1" 200 30
There is some other error (but was generated yesterday) in the error.log file
[Wed Apr 09 02:29:36 2008] [error] Cannot remove module mod_php5.c: not found in module list
- EverLearning
- Forum Contributor
- Posts: 282
- Joined: Sat Feb 23, 2008 3:49 am
- Location: Niš, Serbia
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
is where apache is looking for php.ini."Configuration File (php.ini) Path" C:\WINDOWS
is filepath to php.ini apache is using(in you case its none, so its PHP settings are set to default values)."Loaded Configuration File" C:\webdev\php5\php.ini
So if you're still getting blank page when you copy php.ini to c:\windows, it means that there is something wrong with your php.ini itself, or with some settings in php.ini.
Attach you php.ini file. Maybe we'll see whats wrong.
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
Attached is the php.ini file
- Attachments
-
- php.zip
- Forum is not allowing me to attach .ini file. so just zipped the file.
- (16.36 KiB) Downloaded 97 times
- EverLearning
- Forum Contributor
- Posts: 282
- Joined: Sat Feb 23, 2008 3:49 am
- Location: Niš, Serbia
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
Its not php.ini. I just tried it, and it worked on my machine.
How does your test file look like?
Set php.ini error_log setting to some file, so if php is starting up but there is some fatal error that kills it before it writes anything to browser, it should be written there.
How does your test file look like?
Set php.ini error_log setting to some file, so if php is starting up but there is some fatal error that kills it before it writes anything to browser, it should be written there.
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
How does your test file look like?
I am not sure about the test file that you are talking about.
So i need to set the error_log to some file name in the php.ini file.
Before change
; Log errors to specified file.
;error_log = filename
After change
; Log errors to specified file.
error_log = chkforerrors
Is this what you are looking for? Let me know if i am wrong. BTW do we need to give the path anywhere for this filename(chkforerrors).
Thanks,
I am not sure about the test file that you are talking about.
So i need to set the error_log to some file name in the php.ini file.
Before change
; Log errors to specified file.
;error_log = filename
After change
; Log errors to specified file.
error_log = chkforerrors
Is this what you are looking for? Let me know if i am wrong. BTW do we need to give the path anywhere for this filename(chkforerrors).
Thanks,
- EverLearning
- Forum Contributor
- Posts: 282
- Joined: Sat Feb 23, 2008 3:49 am
- Location: Niš, Serbia
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
Code: Select all
error_log = C:\ApacheServer\PHP\error.logDoes it just have phpinfo() inside or is there something else?
Code: Select all
<?php
phpinfo();
?>Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
This is what i have in my test.php file
<?
phpinfo();
?>
After creating the errror.log file, i restarted the apache server and when i run the test.php file it is not writing anything to the error.log file under C:\ApacheServer\PHP
Thanks
<?
phpinfo();
?>
After creating the errror.log file, i restarted the apache server and when i run the test.php file it is not writing anything to the error.log file under C:\ApacheServer\PHP
Thanks
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
Heyyyyy, i got it
this is just because i did not write php in the test.php file. See how stupid i am
<?
phpinfo();
?>
Thank you so much for your patience. I appreciate your help and time.
YOU MAKE MY DAY
Thanks again,
Kalyani
this is just because i did not write php in the test.php file. See how stupid i am
<?
phpinfo();
?>
Thank you so much for your patience. I appreciate your help and time.
YOU MAKE MY DAY
Thanks again,
Kalyani
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
Finally i am so happy for the day. Do you wanna tell me your name or no?
- EverLearning
- Forum Contributor
- Posts: 282
- Joined: Sat Feb 23, 2008 3:49 am
- Location: Niš, Serbia
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
Code: Select all
short_open_tag = offGlad I could help
P.S. Name is Željko.
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
Sure i will follow the full tags. Thanks again Željko. Have a nice evening. Hope to meet you soon with another question
Cheers,
Kalyani
Cheers,
Kalyani
- EverLearning
- Forum Contributor
- Posts: 282
- Joined: Sat Feb 23, 2008 3:49 am
- Location: Niš, Serbia
Re: Instalation problem with apache_1.3.41,php-5.2.5,mysql4.1.22
By the way, did we solve Fatal error: Call to undefined function mysql_connect() ?