Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've looked on
etc/apache/httpd.conf
/etc/httpd/conf/http.conf
/etc/httpd/http.conf
Is there somewhere else where this file can be?? Am I missing something...?
Run the following command on the command line:
apachectl configtest
This should attempt to test the config, and it should also tell you where it's testing the config from.
run the following command:
cd /
sudo find *.conf
this should find all .conf files for you, just look threw and see what there is
More information on this command located here: https://help.ubuntu.com/community/find
Related
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
So this is my path I have:
C:\wamp\bin\php\php5.4.3
And my php.exe file is in that folder...
I have tried to put:
C:\wamp\bin\php\php5.4.3;
C:\wamp\bin\php\php5.4.3\php.exe
C:\wamp\bin\php
C:\wamp\bin\php;
But none of is not working.
I have no idea why its not working...
Thanks
PHP is not included in your PATH.
Right click your My Computer, then Properties, Advanced System Settings, Environment Variables and then find PATH variable, add your PHP installation dir there. Close your previously launched CMDs, re-launch it, it should work now.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm using PHP as scripting language to create web application. My question is how could I see error logs on linux? i forgot the comman, It's something like tail -f blabla
Depends on your distribution and how Apache was installed (I assume you're using Apache). You should find the relevant log in /var/log or /var/log/httpd. Once you find the right log file, you could watch it with tail -f <file>.
You can also configure PHP to display errors in the script output via the display_errors switch in php.ini. Do php -i | grep php.ini to figure out where your relevant php.ini is (typically /etc/php.ini).
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have installed my XAMPP in C drive, normally, I save the file in this location C:\xampp\htdocs and run it as localhost/example.php. If I change my project folder to E:\project\example.php, what are the settings that need to be altered in XAMPP to run the file from other saved location other than C:\?.
You can relocate your project by editing the DocumentRoot entry in XAMPP\apache\conf\httpd.conf. There, you have to replace the line
DocumentRoot C:\xampp\htdocs\
With:
DocumentRoot E:\Project\
This tutorial will guide step by step through this operation.
http://mattots.blogspot.com/2009/10/changing-document-root-in-xampp.html
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Since I'm using komodo in ubuntu, I notice that there is no support for PHP's syntax checking. I'm asked to "enter the path to your PHP executable below" but I cannot find such file in my PHP folder...
Where can I find it?
On my Ubuntu system it's /usr/bin/php:
$ whereis php
php: /usr/bin/php
It's usually at /usr/bin/php or maybe /bin/php.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
My Apache install is having issues starting with PHP? The code below kills the start.
#PHP INSTALL START
PHPIniDir "C:\ws\php"
LoadModule php5_module "C:\ws\php\php5apache2_2.dll"
#PHP END
When I remove it, it starts fine. I really need PHP working, so I can get back to work.
Chances are, that php5apache2_2.dll is missing, or incompatible with your version of Apache.
In any case, check your startup logs for the reason of failure.