If your website is not functioning correctly, you may need to adjust its PHP configuration by uploading a php.ini file to your addon domain. Below are step-by-step instructions for uploading this file:
Step 1: Access cPanel
- Log in to your cPanel account using your credentials.
- Navigate to the File Manager section (usually found under "Files" or "Home").
- Locate the folder corresponding to your addon domain.
Step 2: Upload the php.ini File
- Download the appropriate
php.ini file from the provided links based on your desired PHP version.
- Rename the downloaded file to
php.ini.
- Use the cPanel file upload feature or transfer the file via an FTP client to the addon domain folder.
Step 3: Verify Upload
- Ensure the file is uploaded correctly by checking the folder via cPanel's file manager or using an SSH command.
- If you're unsure, use an FTP client like FileZilla to confirm the file's presence.
Step 4: Apply Configuration (Optional)
- After uploading, restart your server or apply changes through your control panel if necessary.
- Verify that the PHP configuration is correctly applied by checking your website or logs.
Notes:
- Replace placeholders with your actual cPanel username and addon domain path.
- Ensure the file size is appropriate for your hosting plan.
- Check for existing
php.ini files to avoid conflicts.