Not able to execute php 7.3 on apache 2.4.38How can I prevent SQL injection in PHP?Deleting an element from an array in PHPReference — What does this symbol mean in PHP?PHP code is not being executed, instead code shows on the pageWhere is PHP.ini in Mac OS X Lion? Thought it was in /usr/local/php5/libApache shows php code instead of executingReference - What does this error mean in PHP?Why shouldn't I use mysql_* functions in PHP?on AWS EC2 instance executable php is not found in /opt/php/php-5.6

How does The Fools Guild make its money?

How do I say "Outdoor Pre-show"

How to avoid ci-driven development..?

Sparse matrix processing: flip sign of top-left entries of the matrix

In the movie Harry Potter and the Order or the Phoenix, why didn't Mr. Filch succeed to open the Room of Requirement if it's what he needed?

Does the length of a password for Wi-Fi affect speed?

Colleagues speaking another language and it impacts work

What are the examples (applications) of the MIPs in which the objective function has nonzero coefficients for only continuous variables?

"How do you solve a problem like Maria?"

Does it make sense to occupy open space?

Copy assign a map if element is not assignable

Independent table row spacing

Do the Kraus operators of a CPTP channel need to be orthogonal?

Is it allowed and safe to carry a passenger / non-pilot in the front seat of a small general aviation airplane?

Should I self-publish my novella on Amazon or try my luck getting publishers?

Premier League simulation

Capacitors with a "/" on schematic

Is Odin inconsistent about the powers of Mjolnir?

Does the United States guarantee any unique freedoms?

How can glass marbles naturally occur in a desert?

What was the first multiprocessor x86 motherboard?

Can a character take on additional backgrounds, or at least their benefits?

Traveling from Germany to other countries by train?

What are these silver stripes on Cosmic Girl for?



Not able to execute php 7.3 on apache 2.4.38


How can I prevent SQL injection in PHP?Deleting an element from an array in PHPReference — What does this symbol mean in PHP?PHP code is not being executed, instead code shows on the pageWhere is PHP.ini in Mac OS X Lion? Thought it was in /usr/local/php5/libApache shows php code instead of executingReference - What does this error mean in PHP?Why shouldn't I use mysql_* functions in PHP?on AWS EC2 instance executable php is not found in /opt/php/php-5.6






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















On my server (Redhat 7.5) I don't have internet access so I installed httpd, PHP and MySQL with its binaries.



So first I installed httpd server which installed on



/usr/local/apache2


After that, I installed PHP and MySQL which is running without any error.
I have put my PHP code in the following folder



/usr/local/apache2/htdocs


when I try to run HTML it's running properly but with PHP I try to execute PHP its show code instead of executing the code I tried to load from my PHP module in my httpd.conf file but I didn't find PHP module in my /usr/local/apache2/module folder



Please help me I am stuck with this problem.










share|improve this question


























  • Well, where is the apache php module?

    – arkascha
    Mar 27 at 6:38











  • @arkascha how to find location only this module is installed on apache2 check this link httpd.apache.org/docs/2.4/mod

    – Mohit Jain
    Mar 27 at 6:40












  • And... not having an internet connection is not a reason to install from "binaries", whatever that means, exactly. You should still use the existing packages created specifically for your system, you simply take the files, put them in a folder that system has access to and create a file system based repository entry in the software management. Besides being able to update things later it also has the benefit that dependencies and configurations are resolved which prevents exactly those problems as you currently find yourself in...

    – arkascha
    Mar 27 at 6:40











  • I cannot tell you where you installed your files, sorry.

    – arkascha
    Mar 27 at 6:40

















1















On my server (Redhat 7.5) I don't have internet access so I installed httpd, PHP and MySQL with its binaries.



So first I installed httpd server which installed on



/usr/local/apache2


After that, I installed PHP and MySQL which is running without any error.
I have put my PHP code in the following folder



/usr/local/apache2/htdocs


when I try to run HTML it's running properly but with PHP I try to execute PHP its show code instead of executing the code I tried to load from my PHP module in my httpd.conf file but I didn't find PHP module in my /usr/local/apache2/module folder



Please help me I am stuck with this problem.










share|improve this question


























  • Well, where is the apache php module?

    – arkascha
    Mar 27 at 6:38











  • @arkascha how to find location only this module is installed on apache2 check this link httpd.apache.org/docs/2.4/mod

    – Mohit Jain
    Mar 27 at 6:40












  • And... not having an internet connection is not a reason to install from "binaries", whatever that means, exactly. You should still use the existing packages created specifically for your system, you simply take the files, put them in a folder that system has access to and create a file system based repository entry in the software management. Besides being able to update things later it also has the benefit that dependencies and configurations are resolved which prevents exactly those problems as you currently find yourself in...

    – arkascha
    Mar 27 at 6:40











  • I cannot tell you where you installed your files, sorry.

    – arkascha
    Mar 27 at 6:40













1












1








1








On my server (Redhat 7.5) I don't have internet access so I installed httpd, PHP and MySQL with its binaries.



So first I installed httpd server which installed on



/usr/local/apache2


After that, I installed PHP and MySQL which is running without any error.
I have put my PHP code in the following folder



/usr/local/apache2/htdocs


when I try to run HTML it's running properly but with PHP I try to execute PHP its show code instead of executing the code I tried to load from my PHP module in my httpd.conf file but I didn't find PHP module in my /usr/local/apache2/module folder



Please help me I am stuck with this problem.










share|improve this question
















On my server (Redhat 7.5) I don't have internet access so I installed httpd, PHP and MySQL with its binaries.



So first I installed httpd server which installed on



/usr/local/apache2


After that, I installed PHP and MySQL which is running without any error.
I have put my PHP code in the following folder



/usr/local/apache2/htdocs


when I try to run HTML it's running properly but with PHP I try to execute PHP its show code instead of executing the code I tried to load from my PHP module in my httpd.conf file but I didn't find PHP module in my /usr/local/apache2/module folder



Please help me I am stuck with this problem.







php apache redhat httpd.conf






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 27 at 6:26









Egon Allison

9101 gold badge5 silver badges19 bronze badges




9101 gold badge5 silver badges19 bronze badges










asked Mar 27 at 5:55









Mohit JainMohit Jain

1,2712 gold badges11 silver badges37 bronze badges




1,2712 gold badges11 silver badges37 bronze badges















  • Well, where is the apache php module?

    – arkascha
    Mar 27 at 6:38











  • @arkascha how to find location only this module is installed on apache2 check this link httpd.apache.org/docs/2.4/mod

    – Mohit Jain
    Mar 27 at 6:40












  • And... not having an internet connection is not a reason to install from "binaries", whatever that means, exactly. You should still use the existing packages created specifically for your system, you simply take the files, put them in a folder that system has access to and create a file system based repository entry in the software management. Besides being able to update things later it also has the benefit that dependencies and configurations are resolved which prevents exactly those problems as you currently find yourself in...

    – arkascha
    Mar 27 at 6:40











  • I cannot tell you where you installed your files, sorry.

    – arkascha
    Mar 27 at 6:40

















  • Well, where is the apache php module?

    – arkascha
    Mar 27 at 6:38











  • @arkascha how to find location only this module is installed on apache2 check this link httpd.apache.org/docs/2.4/mod

    – Mohit Jain
    Mar 27 at 6:40












  • And... not having an internet connection is not a reason to install from "binaries", whatever that means, exactly. You should still use the existing packages created specifically for your system, you simply take the files, put them in a folder that system has access to and create a file system based repository entry in the software management. Besides being able to update things later it also has the benefit that dependencies and configurations are resolved which prevents exactly those problems as you currently find yourself in...

    – arkascha
    Mar 27 at 6:40











  • I cannot tell you where you installed your files, sorry.

    – arkascha
    Mar 27 at 6:40
















Well, where is the apache php module?

– arkascha
Mar 27 at 6:38





Well, where is the apache php module?

– arkascha
Mar 27 at 6:38













@arkascha how to find location only this module is installed on apache2 check this link httpd.apache.org/docs/2.4/mod

– Mohit Jain
Mar 27 at 6:40






@arkascha how to find location only this module is installed on apache2 check this link httpd.apache.org/docs/2.4/mod

– Mohit Jain
Mar 27 at 6:40














And... not having an internet connection is not a reason to install from "binaries", whatever that means, exactly. You should still use the existing packages created specifically for your system, you simply take the files, put them in a folder that system has access to and create a file system based repository entry in the software management. Besides being able to update things later it also has the benefit that dependencies and configurations are resolved which prevents exactly those problems as you currently find yourself in...

– arkascha
Mar 27 at 6:40





And... not having an internet connection is not a reason to install from "binaries", whatever that means, exactly. You should still use the existing packages created specifically for your system, you simply take the files, put them in a folder that system has access to and create a file system based repository entry in the software management. Besides being able to update things later it also has the benefit that dependencies and configurations are resolved which prevents exactly those problems as you currently find yourself in...

– arkascha
Mar 27 at 6:40













I cannot tell you where you installed your files, sorry.

– arkascha
Mar 27 at 6:40





I cannot tell you where you installed your files, sorry.

– arkascha
Mar 27 at 6:40












0






active

oldest

votes










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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370640%2fnot-able-to-execute-php-7-3-on-apache-2-4-38%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370640%2fnot-able-to-execute-php-7-3-on-apache-2-4-38%23new-answer', 'question_page');

);

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







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript