Install apache2libapache2-mod-phpeclipse, etc. on Ubuntu 17.10
I'm trying to write a program.I'm a complete beginner.
The program is located in ~/eclipse-workspace/SamplePj1/test.php.
In the PHP Server configuration for run configurations in the run menu,
URL: http://localhost
Document Root: /home/myid/eclipse-workspace
and
In the run configurations file /SamplePj1/test.php
When you set up and press the run button in the lower right corner, the following error appears:
Not Found
The requested URL/SamplePj1/test.php was not found on this server.
Apache/2.4.27(Ubuntu) Server at localhost Port 80
apache goes to the /var/www/html directory and gets an error saying that there are no files
I understand that you are putting it out, but
File of local directory (/home/myid/eclipse-workspace) from eclipse
How do I get apache to run it?
Thank you for your cooperation.
php apache eclipse
You can set Apache to handle user directories.
I'm not sure what kind of package Ubuntu Apache is in, so please search for detailed settings such as "Add Apache User Directory" and refer to the explanation that is close to your environment.
For example, Apache documentation site also has a description.
© 2024 OneMinuteCode. All rights reserved.