fastcgi path configuration

From: Date: Sun, 15 Mar 2020 14:17:08 +0000
Subject: fastcgi path configuration
Groups: php.general 
Request: Send a blank email to php-general+get-327051@lists.php.net to get a copy of this message
Hi With php 5.3, I have these configurations in the nginx location ~ \.php$ { root /home/ubuntu/htdocs/public_html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /home/ubuntu/htdocs/public_html/$fastcgi_script_name; include fastcgi_params; } That script path contains ubuntu@fr13:~$ l htdocs/ build.xml classes/ controllers/ etc/ includes/ index.html lib/ public_html/ views/ ubuntu@fr13:~$ l htdocs/public_html/ addAttendee.php checkUser.php fileService.php logout.php upcomingEvents.php addDeleteFriend.php css/ findUsers.php phpinfo.php users.php addEvent.php deleteAttendee.php friends.php postedEvents.php xsl/ addEventResult.php deleteCommentsRating.php getAppConfig.php rateit.php yourUpcomingEvents.php addPerson.php deleteEvent.php images/ rejectInvite.php addPersonResult.php events.php index.php requestCityState.php approveFriendship.php favicon.ico js/ revokeInvite.php calendar.php feedFromDB.php login.php taggedEvents.php ubuntu@fr13:~$ l htdocs/public_html/js/ controls.js dragdrop.js effects.js httpobject.js prototype.js starrating.js validateform.js When I open the browser and enter localhost/index.php, I can see some contents, e.g. large and small text fonts, but in the nginx error log, I see entries such as: 2020/03/15 17:37:17 [error] 2145#0: *20 open() "/home/ubuntu/htdocs/js/httpobject.js" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /js/httpobject.js HTTP/1.1", host: "localhost", referrer: " http://localhost/index.php" Where in the configuration is wrong? I don't see anything weird. Regards, Mahmood

« previous php.general (#327051) next »