PHP5 Requested URL not Found
I'm trying to working on a already created website project. This website is currently Running on Ubuntu with Apache2 and PHP5.
I've installed the project on APACHE2. But when I'm going to the website I'm having this message :
The requested URL /connexion/ was not found on this server.
Apache/2.4.34 (Ubuntu) Server at localhost Port 80
I don't know what to do, bcause when on the terminal I'm writing :
sudo tail -100 /var/log/apache2/error.log
I'm Having a PDO error :
[Thu Nov 22 09:17:30.492444 2018] [mpm_prefork:notice] [pid 2033] AH00163: Apache/2.4.34 (Ubuntu) configured -- resuming normal operations
[Thu Nov 22 09:17:30.492509 2018] [core:notice] [pid 2033] AH00094: Command line: '/usr/sbin/apache2'
[Thu Nov 22 09:48:49.461147 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $site_id) should be compatible with Utilisateur::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitename}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.461201 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::update(PDO $bdd, $utilisateur_id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $client_id, $site_id) should be compatible with Utilisateur::update(PDO $bdd, $id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitename}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.461218 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::updateWithoutPassword(PDO $bdd, $utilisateur_id, $nom, $prenom, $email, $telephone, $fax, $is_active, $client_id, $site_id) should be compatible with Utilisateur::updateWithoutPassword(PDO $bdd, $id, $nom, $prenom, $email, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463732 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463792 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::update(PDO $bdd, $utilisateur_id, $employe_id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::update(PDO $bdd, $id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463817 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::updateWithoutPassword(PDO $bdd, $utilisateur_id, $employe_id, $nom, $prenom, $email, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::updateWithoutPassword(PDO $bdd, $id, $nom, $prenom, $email, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
SO I've enabled PHP PDO in PHP ini, trying to install PHP. THe website is still not working... What can I do ?
(I've met the problem on Windows, changing PHP making the website working but not Ubuntu)
php apache pdo
|
show 5 more comments
I'm trying to working on a already created website project. This website is currently Running on Ubuntu with Apache2 and PHP5.
I've installed the project on APACHE2. But when I'm going to the website I'm having this message :
The requested URL /connexion/ was not found on this server.
Apache/2.4.34 (Ubuntu) Server at localhost Port 80
I don't know what to do, bcause when on the terminal I'm writing :
sudo tail -100 /var/log/apache2/error.log
I'm Having a PDO error :
[Thu Nov 22 09:17:30.492444 2018] [mpm_prefork:notice] [pid 2033] AH00163: Apache/2.4.34 (Ubuntu) configured -- resuming normal operations
[Thu Nov 22 09:17:30.492509 2018] [core:notice] [pid 2033] AH00094: Command line: '/usr/sbin/apache2'
[Thu Nov 22 09:48:49.461147 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $site_id) should be compatible with Utilisateur::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitename}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.461201 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::update(PDO $bdd, $utilisateur_id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $client_id, $site_id) should be compatible with Utilisateur::update(PDO $bdd, $id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitename}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.461218 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::updateWithoutPassword(PDO $bdd, $utilisateur_id, $nom, $prenom, $email, $telephone, $fax, $is_active, $client_id, $site_id) should be compatible with Utilisateur::updateWithoutPassword(PDO $bdd, $id, $nom, $prenom, $email, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463732 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463792 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::update(PDO $bdd, $utilisateur_id, $employe_id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::update(PDO $bdd, $id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463817 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::updateWithoutPassword(PDO $bdd, $utilisateur_id, $employe_id, $nom, $prenom, $email, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::updateWithoutPassword(PDO $bdd, $id, $nom, $prenom, $email, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
SO I've enabled PHP PDO in PHP ini, trying to install PHP. THe website is still not working... What can I do ?
(I've met the problem on Windows, changing PHP making the website working but not Ubuntu)
php apache pdo
“What can I do ?” - research what the error message means, if that is unclear to you …?
– misorude
Nov 22 '18 at 13:08
Well i don't understand the error, is due to PDO ?is already enable in PHP.ini. This is not from the code this is working on Wamp.
– Newbiedev
Nov 22 '18 at 13:09
“The requested URL /connexion/ was not found on this server” - using this kind of URL probably means that some URL rewriting is involved. Have you checked where this is configured, and whether the necessary Apache module(s) are present, and that you are allowed to make the necessary configuration?
– misorude
Nov 22 '18 at 13:10
“Well i don't understand the error” - well that’s why I asked you whether you have made an actual effort to research it.
– misorude
Nov 22 '18 at 13:10
On my .htaccess I set this URL. So this is coming from my .htaccess. i've already enabled Apache rewrite.
– Newbiedev
Nov 22 '18 at 13:12
|
show 5 more comments
I'm trying to working on a already created website project. This website is currently Running on Ubuntu with Apache2 and PHP5.
I've installed the project on APACHE2. But when I'm going to the website I'm having this message :
The requested URL /connexion/ was not found on this server.
Apache/2.4.34 (Ubuntu) Server at localhost Port 80
I don't know what to do, bcause when on the terminal I'm writing :
sudo tail -100 /var/log/apache2/error.log
I'm Having a PDO error :
[Thu Nov 22 09:17:30.492444 2018] [mpm_prefork:notice] [pid 2033] AH00163: Apache/2.4.34 (Ubuntu) configured -- resuming normal operations
[Thu Nov 22 09:17:30.492509 2018] [core:notice] [pid 2033] AH00094: Command line: '/usr/sbin/apache2'
[Thu Nov 22 09:48:49.461147 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $site_id) should be compatible with Utilisateur::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitename}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.461201 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::update(PDO $bdd, $utilisateur_id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $client_id, $site_id) should be compatible with Utilisateur::update(PDO $bdd, $id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitename}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.461218 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::updateWithoutPassword(PDO $bdd, $utilisateur_id, $nom, $prenom, $email, $telephone, $fax, $is_active, $client_id, $site_id) should be compatible with Utilisateur::updateWithoutPassword(PDO $bdd, $id, $nom, $prenom, $email, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463732 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463792 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::update(PDO $bdd, $utilisateur_id, $employe_id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::update(PDO $bdd, $id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463817 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::updateWithoutPassword(PDO $bdd, $utilisateur_id, $employe_id, $nom, $prenom, $email, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::updateWithoutPassword(PDO $bdd, $id, $nom, $prenom, $email, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
SO I've enabled PHP PDO in PHP ini, trying to install PHP. THe website is still not working... What can I do ?
(I've met the problem on Windows, changing PHP making the website working but not Ubuntu)
php apache pdo
I'm trying to working on a already created website project. This website is currently Running on Ubuntu with Apache2 and PHP5.
I've installed the project on APACHE2. But when I'm going to the website I'm having this message :
The requested URL /connexion/ was not found on this server.
Apache/2.4.34 (Ubuntu) Server at localhost Port 80
I don't know what to do, bcause when on the terminal I'm writing :
sudo tail -100 /var/log/apache2/error.log
I'm Having a PDO error :
[Thu Nov 22 09:17:30.492444 2018] [mpm_prefork:notice] [pid 2033] AH00163: Apache/2.4.34 (Ubuntu) configured -- resuming normal operations
[Thu Nov 22 09:17:30.492509 2018] [core:notice] [pid 2033] AH00094: Command line: '/usr/sbin/apache2'
[Thu Nov 22 09:48:49.461147 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $site_id) should be compatible with Utilisateur::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitename}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.461201 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::update(PDO $bdd, $utilisateur_id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $client_id, $site_id) should be compatible with Utilisateur::update(PDO $bdd, $id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitename}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.461218 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Client::updateWithoutPassword(PDO $bdd, $utilisateur_id, $nom, $prenom, $email, $telephone, $fax, $is_active, $client_id, $site_id) should be compatible with Utilisateur::updateWithoutPassword(PDO $bdd, $id, $nom, $prenom, $email, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Client.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463732 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::create(PDO $bdd, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463792 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::update(PDO $bdd, $utilisateur_id, $employe_id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::update(PDO $bdd, $id, $nom, $prenom, $email, $password, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
[Thu Nov 22 09:48:49.463817 2018] [php7:warn] [pid 2070] [client ::1:51398] PHP Warning: Declaration of Employee::updateWithoutPassword(PDO $bdd, $utilisateur_id, $employe_id, $nom, $prenom, $email, $telephone, $fax, $is_active, $role_id, $agence_id) should be compatible with Utilisateur::updateWithoutPassword(PDO $bdd, $id, $nom, $prenom, $email, $telephone, $fax, $is_active) in /var/www/html/{websitedown}/model/Classes/Employee.php on line 0, referer: http://localhost/
SO I've enabled PHP PDO in PHP ini, trying to install PHP. THe website is still not working... What can I do ?
(I've met the problem on Windows, changing PHP making the website working but not Ubuntu)
php apache pdo
php apache pdo
asked Nov 22 '18 at 13:06
NewbiedevNewbiedev
48
48
“What can I do ?” - research what the error message means, if that is unclear to you …?
– misorude
Nov 22 '18 at 13:08
Well i don't understand the error, is due to PDO ?is already enable in PHP.ini. This is not from the code this is working on Wamp.
– Newbiedev
Nov 22 '18 at 13:09
“The requested URL /connexion/ was not found on this server” - using this kind of URL probably means that some URL rewriting is involved. Have you checked where this is configured, and whether the necessary Apache module(s) are present, and that you are allowed to make the necessary configuration?
– misorude
Nov 22 '18 at 13:10
“Well i don't understand the error” - well that’s why I asked you whether you have made an actual effort to research it.
– misorude
Nov 22 '18 at 13:10
On my .htaccess I set this URL. So this is coming from my .htaccess. i've already enabled Apache rewrite.
– Newbiedev
Nov 22 '18 at 13:12
|
show 5 more comments
“What can I do ?” - research what the error message means, if that is unclear to you …?
– misorude
Nov 22 '18 at 13:08
Well i don't understand the error, is due to PDO ?is already enable in PHP.ini. This is not from the code this is working on Wamp.
– Newbiedev
Nov 22 '18 at 13:09
“The requested URL /connexion/ was not found on this server” - using this kind of URL probably means that some URL rewriting is involved. Have you checked where this is configured, and whether the necessary Apache module(s) are present, and that you are allowed to make the necessary configuration?
– misorude
Nov 22 '18 at 13:10
“Well i don't understand the error” - well that’s why I asked you whether you have made an actual effort to research it.
– misorude
Nov 22 '18 at 13:10
On my .htaccess I set this URL. So this is coming from my .htaccess. i've already enabled Apache rewrite.
– Newbiedev
Nov 22 '18 at 13:12
“What can I do ?” - research what the error message means, if that is unclear to you …?
– misorude
Nov 22 '18 at 13:08
“What can I do ?” - research what the error message means, if that is unclear to you …?
– misorude
Nov 22 '18 at 13:08
Well i don't understand the error, is due to PDO ?is already enable in PHP.ini. This is not from the code this is working on Wamp.
– Newbiedev
Nov 22 '18 at 13:09
Well i don't understand the error, is due to PDO ?is already enable in PHP.ini. This is not from the code this is working on Wamp.
– Newbiedev
Nov 22 '18 at 13:09
“The requested URL /connexion/ was not found on this server” - using this kind of URL probably means that some URL rewriting is involved. Have you checked where this is configured, and whether the necessary Apache module(s) are present, and that you are allowed to make the necessary configuration?
– misorude
Nov 22 '18 at 13:10
“The requested URL /connexion/ was not found on this server” - using this kind of URL probably means that some URL rewriting is involved. Have you checked where this is configured, and whether the necessary Apache module(s) are present, and that you are allowed to make the necessary configuration?
– misorude
Nov 22 '18 at 13:10
“Well i don't understand the error” - well that’s why I asked you whether you have made an actual effort to research it.
– misorude
Nov 22 '18 at 13:10
“Well i don't understand the error” - well that’s why I asked you whether you have made an actual effort to research it.
– misorude
Nov 22 '18 at 13:10
On my .htaccess I set this URL. So this is coming from my .htaccess. i've already enabled Apache rewrite.
– Newbiedev
Nov 22 '18 at 13:12
On my .htaccess I set this URL. So this is coming from my .htaccess. i've already enabled Apache rewrite.
– Newbiedev
Nov 22 '18 at 13:12
|
show 5 more comments
2 Answers
2
active
oldest
votes
I think, check your document path
DocumentRoot: The directory out of which you will serve your documents.
In apache similar to apache configration in file httpd.conf
check DocumentRoot=Yourdocumentpath
and
<Directory Yourdocumentpath>
<Directory Yourdocumentpath>
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
and also you compare ubuntu apache and php configuration with Window apache and php configuration
1
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
– Mathieu
Nov 22 '18 at 15:05
Thank you for clarification
– Abdullah Ockba
Nov 22 '18 at 15:46
add a comment |
Well, so After severals trial, I fix it... Simply by doing this :
systemctl status mysql
My website can now run normally.
THank you all for you
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53431717%2fphp5-requested-url-not-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think, check your document path
DocumentRoot: The directory out of which you will serve your documents.
In apache similar to apache configration in file httpd.conf
check DocumentRoot=Yourdocumentpath
and
<Directory Yourdocumentpath>
<Directory Yourdocumentpath>
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
and also you compare ubuntu apache and php configuration with Window apache and php configuration
1
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
– Mathieu
Nov 22 '18 at 15:05
Thank you for clarification
– Abdullah Ockba
Nov 22 '18 at 15:46
add a comment |
I think, check your document path
DocumentRoot: The directory out of which you will serve your documents.
In apache similar to apache configration in file httpd.conf
check DocumentRoot=Yourdocumentpath
and
<Directory Yourdocumentpath>
<Directory Yourdocumentpath>
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
and also you compare ubuntu apache and php configuration with Window apache and php configuration
1
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
– Mathieu
Nov 22 '18 at 15:05
Thank you for clarification
– Abdullah Ockba
Nov 22 '18 at 15:46
add a comment |
I think, check your document path
DocumentRoot: The directory out of which you will serve your documents.
In apache similar to apache configration in file httpd.conf
check DocumentRoot=Yourdocumentpath
and
<Directory Yourdocumentpath>
<Directory Yourdocumentpath>
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
and also you compare ubuntu apache and php configuration with Window apache and php configuration
I think, check your document path
DocumentRoot: The directory out of which you will serve your documents.
In apache similar to apache configration in file httpd.conf
check DocumentRoot=Yourdocumentpath
and
<Directory Yourdocumentpath>
<Directory Yourdocumentpath>
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
and also you compare ubuntu apache and php configuration with Window apache and php configuration
edited Nov 22 '18 at 15:44
answered Nov 22 '18 at 13:57


Abdullah OckbaAbdullah Ockba
3927
3927
1
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
– Mathieu
Nov 22 '18 at 15:05
Thank you for clarification
– Abdullah Ockba
Nov 22 '18 at 15:46
add a comment |
1
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
– Mathieu
Nov 22 '18 at 15:05
Thank you for clarification
– Abdullah Ockba
Nov 22 '18 at 15:46
1
1
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
– Mathieu
Nov 22 '18 at 15:05
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
– Mathieu
Nov 22 '18 at 15:05
Thank you for clarification
– Abdullah Ockba
Nov 22 '18 at 15:46
Thank you for clarification
– Abdullah Ockba
Nov 22 '18 at 15:46
add a comment |
Well, so After severals trial, I fix it... Simply by doing this :
systemctl status mysql
My website can now run normally.
THank you all for you
add a comment |
Well, so After severals trial, I fix it... Simply by doing this :
systemctl status mysql
My website can now run normally.
THank you all for you
add a comment |
Well, so After severals trial, I fix it... Simply by doing this :
systemctl status mysql
My website can now run normally.
THank you all for you
Well, so After severals trial, I fix it... Simply by doing this :
systemctl status mysql
My website can now run normally.
THank you all for you
answered Nov 26 '18 at 9:52
NewbiedevNewbiedev
48
48
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53431717%2fphp5-requested-url-not-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
“What can I do ?” - research what the error message means, if that is unclear to you …?
– misorude
Nov 22 '18 at 13:08
Well i don't understand the error, is due to PDO ?is already enable in PHP.ini. This is not from the code this is working on Wamp.
– Newbiedev
Nov 22 '18 at 13:09
“The requested URL /connexion/ was not found on this server” - using this kind of URL probably means that some URL rewriting is involved. Have you checked where this is configured, and whether the necessary Apache module(s) are present, and that you are allowed to make the necessary configuration?
– misorude
Nov 22 '18 at 13:10
“Well i don't understand the error” - well that’s why I asked you whether you have made an actual effort to research it.
– misorude
Nov 22 '18 at 13:10
On my .htaccess I set this URL. So this is coming from my .htaccess. i've already enabled Apache rewrite.
– Newbiedev
Nov 22 '18 at 13:12