Re: [OT] Apache/PHP question or resource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/15/16 06:23, Rick Stevens wrote:

> One other thing. By default, PHP no longer permits "short open tags".
> So all PHP code must be prefixed with
>
>     <?php
>     php code goes here;
>     ?>
>
> If all you have is
>
>     <?
>     php code goes here;
>     ?>
>
> then you must have "short_open_tag = On" in your /etc/php.ini (or in one
> of the files in /etc/php.d). By default it's set to "Off". 

That didn't help.  But I found something "interesting"

If I remove index.php and directly access a URL like
http://localhost/index.php?action=contact I get "The requested URL /index.php was not
found on this server."  But if I copy index.php?action=contact to index-X.php and access
http://localhost/index-X.php it displays properly in the browser.

-- 
You're Welcome Zachary Quinto
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux