Software, your way.
burger menu icon
WillMaster

WillMasterBlog > PHP

FREE! Coding tips, tricks, and treasures.

Possibilities weekly ezine

Get the weekly email website developers read:

 

Your email address

name@example.com
YES! Send Possibilities every week!

Installing PHP Software

Installing PHP software can be as simple as uploading a file to the server. Then typing its URL into your browser to use the software.

There can also be a bit more to it.

The "bit more to it" happens when the software:

  1. Consists of more than one file.

  2. Needs files to be in a specific directory.

  3. Requires MySQL access.

  4. Creates/maintains one or more plain text files or non-SQL databases.

  5. Must be configured.

There may be other considerations that make PHP installation more than a simple file upload. But let's address the above one by one.

The software consists of more than one file.

The installation instructions should tell you which files to upload.

The software needs files to be in a specific directory to be in a specific directory.

A directory or directories may need to be created before the files are uploaded. Again, the installation instructions should tell you which files to upload, and where.

The software requires MySQL access.

The software will need to know:

  • The location of MySQL. This may be "localhost" or another location. If not localhost, cPanel or the hosting company can provide the location.

  • The database name.

  • A username that may access the database.

  • The password for the username.

The installation instructions should tell you exactly how to specify the information for the software to use.

The software creates/maintains one or more plain text files or non-SQL databases.

When the software creates or maintains other files, the files generally may be in directories other than where the PHP software resides. The installation instructions should let you know.

The directories where the software creates or maintains files may need 766 or 777 permissions. Sometimes 755 (the general default) will be sufficient. It depends on how PHP is set up and configured on the server your domain is hosted at.

If 755 doesn't work, try 766. If still no joy, then 777. In general, it is better security to specify the lowest permissions number that will work.

The software must be configured.

The software may need to be configured beyond the expected MySQL connection specifications (if it used MySQL). A control panel username and password may need to be specified, for example.

Different PHP software titles will have different ways to specify additional configuration. The installation instructions should contain everything you need.

Although PHP is technically CGI software, installation is different than Perl CGI software.

Perl software files generally need 755 permissions. PHP does not.

Perl software often (but not always) needs to be uploaded into a cgi-bin directory or other directory configured to be used as a cgi-bin. PHP can run in any public directory except cgi-bin-configured directories.

As you've seen, installing PHP software can be really, really easy. And, depending on the software, there can be a bit more to it.

The online article has the content as above. It also has a tweet button to tweet a specially selected quote from the article.

Will Bontrager

Was this blog post helpful to you?
(anonymous form)

Support This Website

Some of our support is from people like you who see the value of all that's offered for FREE at this website.

"Yes, let me contribute."

Amount (USD):

Tap to Choose
Contribution
Method


All information in WillMaster Blog articles is presented AS-IS.

We only suggest and recommend what we believe is of value. As remuneration for the time and research involved to provide quality links, we generally use affiliate links when we can. Whenever we link to something not our own, you should assume they are affiliate links or that we benefit in some way.

Recent Articles in the Library

Extracting Dates From the Unix Timestamp

The UNIX timestamp can be used to determine the represented time for any time zone on Earth.

Submit Form Data Without Bothering User

To silently and effectively submit a form on a web page, Ajax with FormData() can be used.

CSS Dots

CSS dots can be used for interactions between web page and website user.

Email Testing

One thing to test when email doesn't get sent or doesn't arrive is whether the server actuall sends email.

Tap to Select

Find out how to make a link or button to select the content in a div or other HTML element.

Capitalizing the First Letter of Words

Here, find both PHP code and JavaScript code to capitalize the first letter of a word.

Fixed-position Table Header

During a vertical scroll, the table header scrolls out of view -- unless the header is fixed in position.

How Can We Help You? balloons
How Can We Help You?
bullet Custom Programming
bullet Ready-Made Software
bullet Technical Support
bullet Possibilities Newsletter
bullet Website "How-To" Info
bullet Useful Information List

© 1998-2001 William and Mari Bontrager
© 2001-2011 Bontrager Connection, LLC
© 2011-2024 Will Bontrager Software LLC