After apache is installed with php, write a php echo & #039; helloworld & #039; in the terminal php ****. php can see the output in the browser localhost ****. php has no output. How can I add php to apache? Php. ini copied apache's httpd. conf and added this... apache installed.
After installing php, write a php echo 'Hello world ';
You can view the output in php ***. php under the terminal.
In the browser, localhost/*****. php has no output.
How to add php to apache?
Php. ini copied
These two lines have been added to httpd. conf of apache.
AddType application/x-httpd-php. php (there is a space before)
AddType application/x-httpd-php-source. phps (there is a space before)
What else do I need to do?
Reply content:
Apache installed
After installing php, write a php echo 'Hello world ';
You can view the output in php ***. php under the terminal.
In the browser, localhost/*****. php has no output.
How to add php to apache?
Php. ini copied
These two lines have been added to httpd. conf of apache.
AddType application/x-httpd-php. php (there is a space before)
AddType application/x-httpd-php-source. phps (there is a space before)
What else do I need to do?
Do you have LoadModule ..?
Is your file stored in the web directory?