You need to be root in order to create directories and files in /opt. You can create directories by starting a terminal and then using the mkdir command e.g.
Code:
mkdir /opt/lampp/htdocs/somedir
I you want to run AMP on Fedora, also consider using the apache, php and mysql packages shipped by the distro. This
guide may prove useful.